package com.duo.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class SetmealPageQueryDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "页码不能为空")
    private Integer current;

    @NotNull(message = "每页条数不能为空")
    private Integer size;

    @NotNull(message = "查询套餐分类id不能为空")
    private Long categoryId;

    private String setmealName;

    private String description;

    private BigDecimal price;

}
